package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DictContractTypeDao;
import io.renren.entity.DictContractTypeEntity;
import io.renren.service.DictContractTypeService;



@Service("dictContractTypeService")
public class DictContractTypeServiceImpl implements DictContractTypeService {
	@Autowired
	private DictContractTypeDao dictContractTypeDao;
	
	@Override
	public DictContractTypeEntity queryObject(String id){
		return dictContractTypeDao.queryObject(id);
	}
	
	@Override
	public List<DictContractTypeEntity> queryList(Map<String, Object> map){
		return dictContractTypeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dictContractTypeDao.queryTotal(map);
	}
	
	@Override
	public void save(DictContractTypeEntity dictContractType){
		dictContractTypeDao.save(dictContractType);
	}
	
	@Override
	public void update(DictContractTypeEntity dictContractType){
		dictContractTypeDao.update(dictContractType);
	}
	
	@Override
	public void delete(String id){
		dictContractTypeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dictContractTypeDao.deleteBatch(ids);
	}
	
}
